#!/bin/bash

source /etc/profile

cd /home/marvin/sqoop-1.4.6-cdh5.6.0

bin/sqoop job -exec transactions
bin/sqoop job -exec transaction_items_oil
bin/sqoop job -exec transaction_items_notoil
bin/sqoop job -exec TBL_ORDERDETAILS
bin/sqoop job -exec TBL_ORDERDETAILS_CD
bin/sqoop job -exec TBL_ORDER
bin/sqoop job -exec TBL_ORDER_CD
bin/sqoop job -exec TBL_EVALUATION
bin/sqoop job -exec TBL_EVALUATION_CD
bin/sqoop job -exec TBL_CARD
bin/sqoop job -exec TBL_CARD_CD

cd /home/marvin/hive-1.1.0-cdh5.6.0

bin/hive -f /home/marvin/daily_job/hive/dashboard.hql
